package cn.siat.gene.service;

import cn.siat.gene.domain.GenomeData;
import cn.siat.gene.domain.ProgrammeFile;
import cn.siat.gene.domain.dto.GenomeDataDto;
import cn.siat.gene.domain.dto.GenomeDataQueryParam;
import cn.siat.gene.domain.dto.ProgrammeFileDto;
import cn.siat.gene.domain.dto.ProgrammeFileQueryParam;
import cn.siat.gene.domain.vo.GenomeDataVO;
import cn.siat.gene.domain.vo.ProgrammeFileVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface IProgrammeFileService extends IService<ProgrammeFile> {

    List<ProgrammeFileVO> queryPageList(ProgrammeFileQueryParam queryParams);

    int insertProgrammeFile(ProgrammeFileDto programmeFileDto);

    List<String> listTab();

    int deleteProgrammeFileById(ProgrammeFile programmeFile);

    int updateProgrammeFile(ProgrammeFileDto programmeFileDto);

    String getPercentage(String md5);

    Long[] queryMinioFileIds(String[] minioFileMd5Str);

    List<ProgrammeFile> queryUploadFileList(ProgrammeFileQueryParam queryParams);
}
